package com.wing.storage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wing.storage.dao.PalletBoxSkuItermDao;
import com.wing.storage.model.entity.PalletBoxSkuIterm;
import com.wing.storage.model.response.PalletBoxSkuItermVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
@Slf4j
public class PalletBoxSkuItermServiceImpl extends ServiceImpl<PalletBoxSkuItermDao, PalletBoxSkuIterm> implements PalletBoxSkuItermService {


    @Override
    public Page<PalletBoxSkuItermVo> list4app(Page page, Map<String, Object> params) {
        List<PalletBoxSkuItermVo> list = baseMapper.list4app(page, params);
        page.setRecords(list);
        return page;
    }

    @Override
    public List<PalletBoxSkuItermVo> getPalletBoxList(Map<String, Object> params) {
        return baseMapper.getPalletBoxList(params);
    }


}
